<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>消息中心详情页</title>
    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="css/mes_detail.css">
    <link rel="stylesheet" type="text/css" href="font/iconfont.css">

    <!--[if lt IE 9]>
      <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<!-- 顶部 -->
    <header>
        <div class="header-left">返回</div>
        <div class="header-right">消息中心</div>
    </header>
<!-- 主体部分 -->
    <div class="main">
        <div class="main-top">
            <div class="mt-left">
				<p>消息总计</p>
				<span id="sumMsg">0</span>
			</div>
			<div class="mt-right">
				<p>未查收消息</p>
				<span id="noReadMsg">0</span>
			</div>
        </div>

        <div class="list">
            <ul>
                <li>
                    <div class="list-left">
                        <div class="title">瑞兰团队</div>
                    </div>
                    <div class="list-right">
                        <span id="times">2018-10-16</span>
                    </div>
                </li>
            </ul>
            <div class="mes">
            </div>
        </div>
    </div>
<!-- 底部 -->
    <footer>
        <ul>
            <a href="index.html"><li style="border-right: 1px solid #fff;"><i class="iconfont">&#xe633;</i><span>首页</span></li></a>
            <a href="bill.html"><li style="border-right: 1px solid #fff;"><i class="iconfont">&#xe754;</i><span>账单</span></li></a>
            <a href="person.html"><li class="blue"><i class="iconfont">&#xe61a;</i><span>我的</span></li></a>
        </ul>
    </footer>

</body>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/mes_detail.js"></script>
<script src="js/flexible.js"></script>
<script>
	var str = localStorage.getItem("msgId");
	var data = new Array;
	data = str.split(",");
	$("#sumMsg").html(data[1]);
	$("#noReadMsg").html(data[2]);
	$.post(
		rootpath+"/contracmasterMsg/findContracmasterMsg/"+data[0],
		function(msg){
			$(".title").html(msg.name);
			$("#times").html(getDates(msg.createTime));
			$(".mes").html(msg.content.replace("/upload",rootpath+"/upload"));
		},"json"
	);
</script>
</html> 